widget: Propagate PRELIGHT state when unsetting it
authorTimm Bäder <mail@baedert.org>
Tue, 29 Jan 2019 06:17:46 +0000 (07:17 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 29 Jan 2019 06:19:54 +0000 (07:19 +0100)
commit61ec2ab5c97f70b4adb0ff2b586bf8936133d60e
treea5db85fc8a65cb7deef484ae76ab7036965c7a98
parent611964d9157b7e6471603d257441cbc923286911
widget: Propagate PRELIGHT state when unsetting it

Without this, disabling a widget that's being hovered and is a child
widget of the widget we're disabling (e.g. the GtkImage child of a
GtkButton) will retain its :hover state even though it should be
insensitive to any sort of input now.
gtk/gtkwidget.c